package com.sddz.pacs.component.schedule;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2018/6/2/002.
 */
@Component
public class ScheduledTaskDemo {

    @Scheduled(fixedRate = 5000)
    public void reportCurrentTime() {
//        System.out.println("这是一个定时任务！！！！");
    }
}
